package com.zb_study.Homework04;

public class homework04 {
    public static void main(String[] args) {
        A a = new A();
        a.f1();

    }
}

class A {
    private String NAME = "kkk";

    public String getNAME() {
        return NAME;
    }

    public void f1() {
        class B {
            private final String NAME = "zb";

            public void show() {
                System.out.println("NAME=" + NAME + " ,name=" +A.this.NAME);
            }
        }
        B b = new B();
        b.show();
    }
}